e04:- ipPrologEngine(Engine), 
    javaMessage('java.lang.System'-out,println(string('Hello world'))).    
    
e04_1:- ipPrologEngine(Engine), 
    javaMessage('it.cnr.icib.XSBProlog.examples.Example04_JavaClass',
                 test01).
    
e04_2:- ipPrologEngine(Engine), 
    javaMessage('it.cnr.icib.XSBProlog.examples.Example04_JavaClass',
                Res,
                test02),
    javaMessage('java.lang.System'-out,println(Res)).
    
    
e04_3:- ipPrologEngine(Engine),
    javaMessage('it.cnr.icib.XSBProlog.examples.Example04_JavaClass',
                C,
                'Example04_JavaClass'),
    
    javaMessage(C,
                Res,
                test03),
    javaMessage('java.lang.System'-out,println(Res)).
    
    
    
    
    
    
    